package com.upcode.weighing.util.pay;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.upcode.weighing.base.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

/**
 * 导入历年账单
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Slf4j
public class ExportBillVo extends BaseEntity {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    private String billCode;//账单编码
    @JsonSerialize(using= ToStringSerializer.class)
    private Long pId;//二级项目ID
    @JsonSerialize(using= ToStringSerializer.class)
    private Long tId;//楼宇ID
    @JsonSerialize(using= ToStringSerializer.class)
    private Long uId;//单元ID
    @JsonSerialize(using= ToStringSerializer.class)
    private Long rId;//房屋ID
    private Integer billStatus;//账单状态
    private Integer energyType;//供能类型
    private Integer energyTime;//供能时长
    private String billStartYear;//账单起始年
    private String billEndYear;//账单终止年
    private Integer totalAmount;//应缴总额
    private Integer payCoefficient;//缴费系数
    private Integer postageDue;//欠费金额
    private Integer payAmount;//已缴金额
    private Integer waitAmount;//待缴金额
    private Integer payBaseAmount;//基础缴费
    private LocalDateTime cTime;//创建时间
    private Long cUser;//创建人
}
